Skip to main content link. Accesskey S
  • Help
  • HCL Logo
  • HCL Notes and Domino Application Development wiki
  • THIS WIKI IS READ-ONLY. Individual names altered for privacy purposes.
  • HCL Forums and Blogs
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • API Documentation
Search
  • Share Show Menu▼
  • Subscribe Show Menu▼

Recent articles by this author

Community articleHow to get event parameters in a Xpage event
Added by ~Mark Bubnizen on September 17, 2010 | Version 1
expanded Abstract
collapsed Abstract
How to get information from the event parameters in a XPage event
Tags: XPage Events
 When triggering a Event in an XPage the global object THIS will contain a XspEventEventHandler. We retrieve the parameters using a .getParameters() this will return a Java ArrayList
 The code below loops thru the arraylist and gets the value from the parameter name that matches the Key variable
 
 
var value=this.getParameters();
var tmp="";
var Key="MyParameter"; // Key contains the parameter name you want to retreve
for(x=0;x<value.size();x++){
	if(value.get(x).getName()==Key){
		tmp=value.get(x).getValue();
		break;
	}
}
requestScope.MyField=tmp; // Place the parameter data in the MyField requestScope vaiable
 
expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (2)
collapsed Versions (2)
Version Comparison     
VersionDateChanged by              Summary of changes
2Sep 17, 2010, 2:39:18 PM~Carol Desjipymarings  
This version (1)Sep 17, 2010, 12:16:21 PM~Mark Bubnizen  
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedAbout
  • HCL Software
  • HCL Digital Solutions community
  • HCL Software support
  • BlogsDigital Solutions blog
  • Community LinkHCL Software forums and blogs
  • About HCL
  • Privacy
  • Accessibility